using IQIGame.Onigao.Framework;
using IQIGame.Onigao.Game;
using NetProtocol.Client;
using NetProtocol.Enum;
using NetProtocol.POD;

namespace IQIGame.Onigao.GamePlay
{
    public class RoomModule : Singleton<RoomModule>, CNetRoom
    {
        private RoomModule() { }
        public static CNetRoom NetCore => Instance;


        void CNetRoom.SC_notifyMatchState(ISession session, MatchStatePOD matchStatePOD, RoomMatchReason reason)
        {
        }

        void CNetRoom.SC_notifyRoomInfo(ISession session, RoomPOD roomPod, RoomActionReason reason)
        {
        }

        void CNetRoom.SC_notifyRoomSimpleInfo(ISession session, RoomPOD roomPod, RoomActionReason reason)
        {
        }

        ISession CNetRoom.GetSession()
        {
            return GameServerModule.Instance.CurrSession;
        }
    }
}
